<template>
  <person-index v-if="menuIdent !== ''" ref="personIndex" v-loading="loading" style="min-height:300px;" :menu-ident="menuIdent" :bus-type="busType" />
</template>
<script>
import personIndex from '@/views/deal/team/personIndex'

export default {
  components: {
    personIndex
  },
  data() {
    return {
      // 加载
      loading: true,
      // 菜单标识
      menuIdent: '',
      busType: undefined
    }
  },
  mounted() {
    this.$bus.$emit('async_done')
  },
  methods: {
    init(data) {
      this.busType = data.busType
      this.menuIdent = data.menuId
    }
  }
}
</script>
